package com.linjuke.mayouting.web.modules.screen.biz.cat;

import com.linjuke.mayouting.biz.ao.CatAO;
import com.linjuke.mayouting.web.common.BaseScreen;
import com.zjuh.splist.web.RunData;
import com.zjuh.splist.web.TemplateContext;
import com.zjuh.sweet.result.Result;

public class List extends BaseScreen {

	private CatAO catAO;
	
	@Override
	public void execute(RunData rundata, TemplateContext templateContext) {
		Result result = catAO.listAll();
		this.handleResult(result, rundata, templateContext);
	}

	public void setCatAO(CatAO catAO) {
		this.catAO = catAO;
	}
	
}
